package com.njtoyo.taxi.admin.rest.wrapper.business.driver.notifyMessage;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.njtoyo.taxi.admin.mapper.master.enums.driverNotifyMessage.MediaCategory;
import com.njtoyo.taxi.admin.mapper.master.enums.driverNotifyMessage.PriorityCategory;
import com.njtoyo.taxi.admin.mapper.master.enums.driverNotifyMessage.Scope;
import com.njtoyo.taxi.admin.mapper.master.enums.driverNotifyMessage.State;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;
import java.util.Objects;

@Data
@ApiModel(value = "获取司机通知消息列表")
public class ListWrapper extends Page<ListWrapper> {

    public ListWrapper(Long current, Long size) {
        super(Objects.isNull(current) ? 1 : current, Objects.isNull(size) ? 15 : size);
    }

    @ApiModelProperty("司机运营区ID")
    private Long driverRegionId;

    @ApiModelProperty("公司ID")
    private Long companyId;

    @ApiModelProperty("发布范围")
    private Scope scope;

    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("媒体类型")
    private MediaCategory mediaCategory;

    @ApiModelProperty("优先级类型")
    private PriorityCategory priorityCategory;

    @ApiModelProperty("发布状态")
    private State state;

    private List<Long> driverRegionIds;
    private List<Long> companyIds;
}
